var app = getApp()

module.exports = {
  ST(title) {
    wx.showToast({
      title: title ? title : "未知弹窗^-^",
      icon: 'none',
      mask: !0
    })
  },
  SL(title) {
    wx.showLoading({
      title: title ? title : "正在加载中...",
      mask: !0
    })
  },
  SE(title) {
    wx.showToast({
      title: title ? title : '系统错误',
      image: '/images/icon-warning.png',
      mask: !0
    })
  },
  HL() {
    wx.hideLoading()
  }
}